

username = 'root'
password = '123456'
port = "3306"
server = '127.0.0.1'
database = 'my_test'



class Config:

    SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://{username}:{password}@{server}:{port}/{database}?charset=utf8"

    SQLALCHEMY_TRACK_MODIFICATIONS = True   #动态追踪修改

    # JSON_AS_ASCII = False

    # SQLALCHEMY_NATIVE_UNICODE = False


